import request from '@/api/request'
/**
 * 登录接口
 * @param {*} data {username:'xxx',password:'xxx'}
 * @returns Promise
 */
export function dologin(data) {
  return request({
    url: 'lejuAdmin/index/login',
    method: 'post',
    data
  })
}
